import type { DepartData } from "@/types/consult"
import { request } from "@/utils/request"

/**
 * 医生科室列表
 */
export const departmentListApi = () => {
  return request.get<null, DepartData[]>("/dep/all")
}
